#include <iostream>

using namespace std;

int main()
{
	char ch;
	int aCnt=0;
	int eCnt=0;
	int iCnt=0;
	int oCnt=0;
	int uCnt=0;
	int spaceCnt=0;
	int tabCnt=0;
	int lineCnt=0;
	int otherCnt=0;

	while(cin.get(ch))
	{

		switch(ch)
		{
			case 'a':
			case 'A':
				++aCnt;
				break;
			case 'e':
			case 'E':
				++eCnt;
				break;
			case 'i':
			case 'I':
				++iCnt;
				break;
			case 'o':
			case 'O':
				++oCnt;
				break;
			case 'u':
			case 'U':
				++uCnt;
				break;
			case ' ':
				++spaceCnt;
				break;
			case '\t':
				++tabCnt;
				break;
			case '\n':
				++lineCnt;
				break;
			default:
				++otherCnt;
				break;
		}
	}

	cout<<"a and A: "<<aCnt<<endl
		<<"e and E: "<<eCnt<<endl
		<<"i and I: "<<iCnt<<endl
		<<"o and O: "<<oCnt<<endl
		<<"u and U: "<<uCnt<<endl
		<<"space  : "<<spaceCnt<<endl
		<<"tab    : "<<tabCnt<<endl
		<<"line   : "<<lineCnt<<endl;
	return 0;

}